コード例 #1
0
	public override void OnInspectorGUI(){
		base.DrawDefaultInspector();
		if (GUILayout.Button("Actiate Jump Scene")){

			Cutscene_Manager tester = (Cutscene_Manager)target;
			tester.StartJumpScene();
		}

	}
コード例 #2
0
    public override void Enter()
    {
        if (cutscene_Manager == null)
        {
            cutscene_Manager = Cutscene_Manager.instance;
        }

        cutscene_Manager.onComplete += JumpComplete;
        cutscene_Manager.StartJumpScene();
        Character_Manager.instance.HidePlayer();
        Item_Manager.instance.HideItems();
        Buildable_Manager.instance.HideBuildables();
        MiniGameManager.instance.CancelMiniGames();
    }