コード例 #1
0
ファイル: PauseMenu.cs プロジェクト: j4ra/FPS
 // Use this for initialization
 void Start()
 {
     fpc = Player.GetComponent<FirstPersonController>();
     pa = Player.GetComponent<Playar_Attack>();
 }
コード例 #2
0
ファイル: UI_Weapon.cs プロジェクト: j4ra/FPS
 // Use this for initialization
 void Start()
 {
     pa = Player.GetComponent<Playar_Attack>();
     img = GetComponent<Image>();
 }