public override void handFurnitureUIInfo(ref string messageText, ref string actionText, ref KeyCode keyCode, ref Action action) { switch (lockType) { case LockType.password: keyCode = KeyCode.Space; if (isLock) { actionText = MessageText.Open(); action = PushPassWordPage; } else { //Open door switch actionText = MessageText.Check(); action = CorridorDoorSwitch; } break; case LockType.padLock: keyCode = KeyCode.Space; if (isLock) { actionText = MessageText.Open(); action = PushOpenPadLockScene; } else { actionText = MessageText.Check(); action = CorridorDoorSwitch; } break; case LockType.puzzle: actionText = MessageText.Open(); keyCode = KeyCode.Space; action = ShowLockedMessage; break; default: break; } }
public override void handFurnitureUIInfo(ref string messageText, ref string actionText, ref KeyCode keyCode, ref Action action) { actionText = MessageText.Check(); keyCode = KeyCode.Space; action = PushEightPuzzleScene; }
public override void HandItemUIInfo(ref string actionText, ref KeyCode keycode, ref Action action) { actionText = MessageText.Check(); keycode = KeyCode.Space; action = ItemAction; }
public override void handFurnitureUIInfo(ref string messageText, ref string actionText, ref KeyCode keyCode, ref Action action) { actionText = MessageText.Check(); keyCode = KeyCode.Space; action = BookShelfAction; }
public override void handFurnitureUIInfo(ref string messageText, ref string actionText, ref KeyCode keyCode, ref Action action) { switch (lockType) { case LockType.puzzle: actionText = MessageText.Open(); keyCode = KeyCode.Space; if (isLock) { messageText = MessageText.Locked(); action = base.ShowLockedMessage; } else { action = CorridorDoorSwitch; } break; case LockType.password: keyCode = KeyCode.Space; if (isLock) { actionText = MessageText.Open(); action = PushPassWordPage; } else { //Open door switch actionText = MessageText.Check(); action = CorridorDoorSwitch; } break; case LockType.padLock: if (isLock) { actionText = MessageText.Open(); keyCode = KeyCode.Space; action = PushOpenPadLockScene; } else { actionText = MessageText.Check(); keyCode = KeyCode.Space; action = GetItemInBox; } break; case LockType.screw: break; case LockType.riddle: //Todo if (true) { } break; } }