private void Awake() { photocopierState = PhotocopierState.Idle; registerObject = gameObject.GetComponent <RegisterObject>(); printer = new Internal.Printer(0, trayCapacity, false); scanner = new Internal.Scanner(false, true, null, null); }
private void SyncPhotocopierState(PhotocopierState newState) { photocopierState = newState; switch (newState) { case PhotocopierState.Idle: spriteHandler.ChangeSprite(0); break; case PhotocopierState.Production: spriteHandler.ChangeSprite(1); break; } }