コード例 #1
0
ファイル: Player.cs プロジェクト: jamioflan/LD48
 void Awake()
 {
     inst      = this;
     movement  = GetComponent <PlayerCapitalMovement>();
     attacks   = GetComponent <PlayerAttacks>();
     inventory = GetComponent <PlayerInventory>();
 }
コード例 #2
0
ファイル: PlayerAttacks.cs プロジェクト: jamioflan/LD48
 // Start is called before the first frame update
 void Start()
 {
     movement   = GetComponent <PlayerCapitalMovement>();
     inventory  = GetComponent <PlayerInventory>();
     animations = GetComponent <CreatureAnimations>();
 }
コード例 #3
0
ファイル: PlayerSpellcasting.cs プロジェクト: jamioflan/LD48
 // Start is called before the first frame update
 void Start()
 {
     movement  = GetComponent <PlayerCapitalMovement>();
     inventory = GetComponent <PlayerInventory>();
 }