コード例 #1
0
 // Use this for initialization
 void Start()
 {
     _anim = GetComponent <BearAnim>();
 }
コード例 #2
0
 void Awake()
 {
     _rb   = GetComponent <Rigidbody2D>();
     _anim = GetComponent <BearAnim>();
 }