예제 #1
0
 void Awake()
 {
     player      = GetComponent <BasePlayer>();
     input       = serverinput.GetValue(player) as InputState;
     position    = transform.position;
     chuteskinID = 0;
     instance    = new Chute();
 }
예제 #2
0
 void Awake()
 {
     _instance = new Chute();
     player    = GetComponentInParent <BasePlayer>() ?? null;
     if (player == null)
     {
         OnDestroy(); return;
     }
     usedchute       = false;
     dismountcounter = 0f;
     player.ClearEntityQueue();
 }