private void Start()
 {
     Pauser.AddList(this);
     behaviour = GetComponent <Behaviour>();
 }
示例#2
0
 protected void Initialize()
 {
     Pauser.AddList(this);
     behaviour     = GetComponent <Behaviour>();
     physicsEngine = GetComponent <Rigidbody2D>();
 }