SyncSpatial() private method

private SyncSpatial ( ) : void
return void
Beispiel #1
0
        public void SyncFaceDir(UnityEngine.GameObject obj)
        {
            EntityViewModel viewModel = GetEntityView(obj);

            if (null != viewModel)
            {
                viewModel.SyncSpatial();
            }
        }
 static public int SyncSpatial(IntPtr l)
 {
     try {
         GameFramework.EntityViewModel self = (GameFramework.EntityViewModel)checkSelf(l);
         self.SyncSpatial();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }