コード例 #1
0
ファイル: Fishing.cs プロジェクト: RScanlan1990/RPG
 void Start()
 {
     base.Start();
     _amFishing       = false;
     _fishingAttempts = 1;
     _animationRouter = gameObject.GetComponent <AnimationRouter>();
     _equiped         = gameObject.GetComponent <Equiped>();
     _inventory       = gameObject.GetComponent <Inventory>();
 }
コード例 #2
0
 void Awake()
 {
     _animationController = gameObject.AddComponent <AnimationRouter>();
 }