Class WizardUtility
Inheritance
WizardUtility
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: NeoFPS.dll
Syntax
public static class WizardUtility
Methods
AddAudioSource(GameObject)
Declaration
public static AudioSource AddAudioSource(GameObject targetObject)
Parameters
| Type |
Name |
Description |
| GameObject |
targetObject |
|
Returns
| Type |
Description |
| AudioSource |
|
AddSimpleSurface(GameObject, FpsSurfaceMaterial)
Declaration
public static void AddSimpleSurface(GameObject gameObject, FpsSurfaceMaterial surface)
Parameters
AddWieldableSpringObject(GameObject)
Declaration
public static GameObject AddWieldableSpringObject(GameObject rootObject)
Parameters
| Type |
Name |
Description |
| GameObject |
rootObject |
|
Returns
| Type |
Description |
| GameObject |
|
GetExitTime(AnimationClip, Single)
Declaration
public static float GetExitTime(AnimationClip clip, float duration)
Parameters
| Type |
Name |
Description |
| AnimationClip |
clip |
|
| System.Single |
duration |
|
Returns
| Type |
Description |
| System.Single |
|
GetPrefabOutputFolder()
Declaration
public static string GetPrefabOutputFolder()
Returns
| Type |
Description |
| System.String |
|
GetPrefabPath(String, String, Boolean)
Declaration
public static string GetPrefabPath(string prefabName, string folderPath, bool overwrite)
Parameters
| Type |
Name |
Description |
| System.String |
prefabName |
|
| System.String |
folderPath |
|
| System.Boolean |
overwrite |
|
Returns
| Type |
Description |
| System.String |
|
GetRelativeComponent<T>(GameObject, GameObject, T)
Declaration
public static T GetRelativeComponent<T>(GameObject prefab, GameObject instance, T component)
where T : class
Parameters
| Type |
Name |
Description |
| GameObject |
prefab |
|
| GameObject |
instance |
|
| T |
component |
|
Returns
Type Parameters
GetRelativeGameObject(GameObject, GameObject, GameObject)
Declaration
public static GameObject GetRelativeGameObject(GameObject prefab, GameObject instance, GameObject target)
Parameters
| Type |
Name |
Description |
| GameObject |
prefab |
|
| GameObject |
instance |
|
| GameObject |
target |
|
Returns
| Type |
Description |
| GameObject |
|
InspectOutputInfo(SerializedObject)
Declaration
public static bool InspectOutputInfo(SerializedObject serializedObject)
Parameters
| Type |
Name |
Description |
| SerializedObject |
serializedObject |
|
Returns
| Type |
Description |
| System.Boolean |
|