void Start() { CharacterSprite controller = new CharacterSprite(); Sprite frontFacingSprite = controller.GetFrontFacing(); GameObject character = GameObject.Find("character"); SpriteRenderer renderer = character.GetComponent <SpriteRenderer>(); renderer.sprite = frontFacingSprite; character.transform.position = new Vector3(0.2f, 0.2f, 1); }