private OCColorManager(ObstacleController oc) { _oc = oc; _stretchableObstacle = _stretchableObstacleAccessor(ref _oc); _color_Original = oc.GetField <SimpleColorSO, ObstacleController>("_color").color; if (_color == null) { _color = ScriptableObject.CreateInstance <SimpleColorSO>(); _color.SetColor(_color_Original); } oc.SetField("_color", _color); }