UpdateCache() public method

Caches information about bones and constraints. Must be called if bones, constraints or weighted path attachments are added or removed.
public UpdateCache ( ) : void
return void
示例#1
0
 static int UpdateCache(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         Spine.Skeleton obj = (Spine.Skeleton)ToLua.CheckObject <Spine.Skeleton>(L, 1);
         obj.UpdateCache();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }