コード例 #1
0
 private void Awake()
 {
     mover            = new BarMover(bar, movementProperties);
     scaler           = new BarScaler(left, right);
     visibility       = GetComponent <SpriteVisibility>();
     objectVisibility = GetComponent <ObjectVisibility>();
     powerups         = GetComponent <BarPickups>();
     state            = State.Inactive;
 }
コード例 #2
0
 private void Awake()
 {
     visibility = GetComponent <SpriteVisibility>();
 }