public void Start() { tilemap = GetComponent <Tilemap>(); observableColor = KojiBridge.ObservableColorOfKey(key); Handles.Add(observableColor.DidChange.Subscribe(ObservableSpriteColor_DidChange, true)); }
public void Start() { Handles.Add( KojiBridge.ObservableColorOfKey(key).DidChange.Subscribe(Observable_DidChange, true) ); Observable_DidChange(Color.green); }