-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,445 changed files
with
12,132 additions
and
85,315 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* The do not destroy on load script. | ||
* | ||
* @filename YwDontDestroyOnLoad.cs | ||
* @copyright Copyright (c) 2015 Yaukey/yaukeywang/WangYaoqi ([email protected]) all rights reserved. | ||
* @license The MIT License (MIT) | ||
* @author Yaukey | ||
* @date 2016-01-24 | ||
*/ | ||
|
||
using UnityEngine; | ||
using System.Collections; | ||
|
||
// The do not destroy on load script. | ||
public class YwDontDestroyOnLoad : MonoBehaviour | ||
{ | ||
// Use this for initialization | ||
void Awake() | ||
{ | ||
DontDestroyOnLoad(gameObject); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...ripts/Logic/BackgroundPropSpawner.cs.meta → .../Scripts/Base/YwDontDestroyOnLoad.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.