Class ComponentExtensions
Unity Component
extension methods.
Inheritance
System.Object
ComponentExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: StansAssets.Foundation.Extensions
Assembly: cs.temp.dll.dll
Syntax
public static class ComponentExtensions
Methods
GetLocalIdentifierInFile(Component)
Gets the local Identifier In File, for the given Component Return 0 in case Component wasn't yet saved
Declaration
public static int GetLocalIdentifierInFile(Component go)
Parameters
Type | Name | Description |
---|---|---|
Component | go | Component you want to check |
Returns
Type | Description |
---|---|
System.Int32 |