示例#1
0
 internal FizzleObject(string name, Type type)
 {
     this.name = name;
     if ((__item = FizzleScene.FindObject(type, name) as FizzleBehaviour) == null)
     {
         throwException();
     }
     if (__check_item == null)
     {
         throwException();
     }
     __item_wrapper  = __item?.GetComponentInParent <ItemWrapper>();
     __mesh_renderer = __item_wrapper?.GetComponentsInChildren <MeshRenderer>();
 }