コード例 #1
0
 void Start()
 {
     composableVisibility = GetComponent<ComposableVisibility>();
     playerUpgrades = PlayerUpgrades.instance;
     playerUpgrades.PlayerUgradeBought += UpdateGameObjectState;
     playerUpgrades.OnLoad(UpdateGameObjectState);
     changeVisibilityWhenPlacingTiles = GetComponent<ChangeVisibilityWhenPlacingTiles>();
 }