Class SerializedArrayUtility
Inheritance
SerializedArrayUtility
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 class SerializedArrayUtility
Methods
Add(SerializedProperty, Object, Boolean)
Declaration
public static void Add(SerializedProperty arrayProp, Object o, bool allowMultiple = false)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
arrayProp |
|
| Object |
o |
|
| System.Boolean |
allowMultiple |
|
Clear(SerializedProperty)
Declaration
public static void Clear(SerializedProperty arrayProp)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
arrayProp |
|
Contains(SerializedProperty, Object)
Declaration
public static bool Contains(SerializedProperty arrayProp, Object o)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
arrayProp |
|
| Object |
o |
|
Returns
| Type |
Description |
| System.Boolean |
|
Duplicate(SerializedProperty, Int32)
Declaration
public static void Duplicate(SerializedProperty arrayProp, int index)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
arrayProp |
|
| System.Int32 |
index |
|
GetItemAtIndex<T>(SerializedProperty, Int32)
Declaration
public static T GetItemAtIndex<T>(SerializedProperty arrayProp, int index)
where T : Object
Parameters
| Type |
Name |
Description |
| SerializedProperty |
arrayProp |
|
| System.Int32 |
index |
|
Returns
Type Parameters
IndexOf(SerializedProperty, Object)
Declaration
public static int IndexOf(SerializedProperty arrayProp, Object o)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
arrayProp |
|
| Object |
o |
|
Returns
| Type |
Description |
| System.Int32 |
|
Move(SerializedProperty, Object, Int32)
Declaration
public static void Move(SerializedProperty arrayProp, Object o, int offset)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
arrayProp |
|
| Object |
o |
|
| System.Int32 |
offset |
|
Move(SerializedProperty, Int32, Int32)
Declaration
public static void Move(SerializedProperty arrayProp, int fromIndex, int toIndex)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
arrayProp |
|
| System.Int32 |
fromIndex |
|
| System.Int32 |
toIndex |
|
Remove(SerializedProperty, Object)
Declaration
public static void Remove(SerializedProperty arrayProp, Object o)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
arrayProp |
|
| Object |
o |
|
RemoveAt(SerializedProperty, Int32)
Declaration
public static void RemoveAt(SerializedProperty arrayProp, int index)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
arrayProp |
|
| System.Int32 |
index |
|
SetItemAtIndex(SerializedProperty, Int32, Object)
Declaration
public static void SetItemAtIndex(SerializedProperty arrayProp, int index, Object o)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
arrayProp |
|
| System.Int32 |
index |
|
| Object |
o |
|