Ejemplo n.º 1
0
 public static ItemKind GetItemKind(ushort id)
 {
     if (id > ItemKinds.Length)
     {
         return(FieldItemList.GetFieldItemKind(id));
     }
     return((ItemKind)ItemKinds[id]);
 }
Ejemplo n.º 2
0
 void Start()
 {
     playerState = GetComponentInChildren <PlayerState>();
     playerState.Initialization(this, (bool end) => loadedState = end);
     fieldItemList = GetComponentInChildren <FieldItemList>();
     fieldItemList.Initialization(this, (bool end) => loadedFieldList = end);
     fire1.Initialization();
 }