Skip to content

Instantly share code, notes, and snippets.

yeoman gzlock

  • Earth
Block or report user

Report or block gzlock

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@gzlock
gzlock / AutoLoadScene.cs
Last active Mar 11, 2019
Load the initial scene when the Unity3d editor mode state change to play
View AutoLoadScene.cs
/**
Please checkout the first comment.
请查看第一个留言。
**/
using UnityEditor;
using UnityEngine;
using UnityEngine.SceneManagement;
[InitializeOnLoad]
public class AutoLoadScene
View ExecutionOrderAttribute.cs
using System;
using System.Collections.Generic;
#if UNITY_EDITOR
using System.IO;
using UnityEditor;
#endif
using UnityEngine;
[AttributeUsage( AttributeTargets.Class, Inherited = false, AllowMultiple = false )]
sealed class ExecutionOrderAttribute : Attribute {
You can’t perform that action at this time.