This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var group = MultiSceneManager.ActiveSceneGroup; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[MultiSceneOrdered(-100)] | |
public void OnMultiSceneAwake() | |
{ | |
// Some code here... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void OnMultiSceneStart() | |
{ | |
// Some code here... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void OnMultiSceneEnable() | |
{ | |
// Some code here... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void OnMultiSceneAwake() | |
{ | |
// Some code here... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void OnEnable() | |
{ | |
MultiSceneManager.BeforeScenesLoaded.Add(OnPreSceneLoad); | |
} | |
private void OnDisable() | |
{ | |
MultiSceneManager.BeforeScenesLoaded.Remove(OnPreSceneLoad); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using CarterGames.Utilities; | |
using CarterGames.Assets.AudioManager; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.InputSystem; | |
/* | |
* Copyright (c) Jonathan Carter | |
* E: jonathan@carter.games |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Shows the Generate class display | |
/// </summary> | |
private void TabOneDisplay() | |
{ | |
EditorGUILayout.HelpBox("Create a new SaveData class here.\n\nYou may just write it yourself, however if you wish " + | |
"for the asset to work with the data you want to save, we advise you use the provided editor to generate it. " + | |
"To begin, press the add field button, and repeat for each field you need. When done, press the Generate Class button.", MessageType.Info, true); | |
GUI.backgroundColor = Color.green; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright (c) Jonathan Carter | |
E: jonathan@carter.games | |
W: https://jonathan.carter.games/ | |
Twine harlowe google sheet saving and loading of single cells script | |
GET - returns the word or words up until the desired amount, or as many as there are if not enough | |
POST - adds the inputted word from twine to the sheet this script is linked to on the sheet defined below | |
*/ | |
// Make sure this is the sheet you wish to write to... (default is 'DATA') |
NewerOlder