예제 #1
0
    public void Start()
    {
        tilemap = GetComponent <Tilemap>();

        observableColor = KojiBridge.ObservableColorOfKey(key);
        Handles.Add(observableColor.DidChange.Subscribe(ObservableSpriteColor_DidChange, true));
    }
예제 #2
0
 public void Start()
 {
     Handles.Add(
         KojiBridge.ObservableColorOfKey(key).DidChange.Subscribe(Observable_DidChange, true)
         );
     Observable_DidChange(Color.green);
 }