GameFramework.EntityController.GetGameObjectByUnitId C# (CSharp) Метод

GetGameObjectByUnitId() приватный Метод

private GetGameObjectByUnitId ( int unitId ) : UnityEngine.GameObject
unitId int
Результат UnityEngine.GameObject
        internal UnityEngine.GameObject GetGameObjectByUnitId(int unitId)
        {
            return EntityViewModelManager.Instance.GetGameObjectByUnitId(unitId);
        }

Usage Example

Пример #1
0
 static public int GetGameObjectByUnitId(IntPtr l)
 {
     try {
         GameFramework.EntityController self = (GameFramework.EntityController)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         var ret = self.GetGameObjectByUnitId(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }