Initialer Upload neues Unity-Projekt
This commit is contained in:
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 259e970f8c624d50adde3e97c28d4db2
|
||||
timeCreated: 1680653496
|
||||
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
using System;
|
||||
|
||||
namespace Meta.Voice.Hub.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class MetaHubContextAttribute : Attribute
|
||||
{
|
||||
public string Context { get; private set; }
|
||||
public int Priority { get; private set; }
|
||||
public string LogoPath { get; private set; }
|
||||
|
||||
public MetaHubContextAttribute(string context, int priority = 1000, string pathToLogo = "")
|
||||
{
|
||||
Context = context;
|
||||
Priority = priority;
|
||||
LogoPath = pathToLogo;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: adaa391766724cfba11a9c2223e738b0
|
||||
timeCreated: 1680653506
|
||||
@ -0,0 +1,38 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using Meta.Voice.Hub.Interfaces;
|
||||
|
||||
namespace Meta.Voice.Hub.Attributes
|
||||
{
|
||||
public class MetaHubPageAttribute : Attribute, IPageInfo
|
||||
{
|
||||
public string Name { get; private set; }
|
||||
public string Context { get; private set; }
|
||||
public int Priority { get; private set; }
|
||||
public string Prefix { get; private set; }
|
||||
|
||||
|
||||
public MetaHubPageAttribute(string name = null, string context = "", string prefix = "", int priority = 0)
|
||||
{
|
||||
Name = name;
|
||||
Context = context;
|
||||
Priority = priority;
|
||||
Prefix = prefix;
|
||||
}
|
||||
}
|
||||
|
||||
public class MetaHubPageScriptableObjectAttribute : MetaHubPageAttribute
|
||||
{
|
||||
public MetaHubPageScriptableObjectAttribute(string context = "") : base(context: context)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b7abd7a0ff8e45bc9cad665bffea5fae
|
||||
timeCreated: 1680653617
|
||||
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fa9a1019478641b2a667674cd4a94eb8
|
||||
timeCreated: 1680672606
|
||||
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
namespace Meta.Voice.Hub.Interfaces
|
||||
{
|
||||
public interface IMetaHubPage
|
||||
{
|
||||
void OnGUI();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 816e6d4cdf174cf1981d648ac98b115c
|
||||
timeCreated: 1680672614
|
||||
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
namespace Meta.Voice.Hub.Interfaces
|
||||
{
|
||||
public interface IPageInfo
|
||||
{
|
||||
string Name { get; }
|
||||
string Context { get; }
|
||||
int Priority { get; }
|
||||
string Prefix { get; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 33e5585f3c294fddbdf1f2c3b8e6786b
|
||||
timeCreated: 1680672632
|
||||
@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "Meta.Voice.Hub.Runtime",
|
||||
"rootNamespace": "Meta.Voice.Hub",
|
||||
"references": [],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8e054d88729a3fb4bbe539499f824363
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user