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
import 'dart:ui'; | |
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { |
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
/*** | |
* | |
* rootscript copy from https://github.com/codearoni/generator-gizmo/blob/master/app/templates/jsx/rootscript.jsx | |
* | |
***/ | |
/* jshint ignore:start */ | |
/** | |
* Date.now - from: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now | |
*/ |
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
/** | |
Please checkout the first comment. | |
请查看第一个留言。 | |
**/ | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEngine.SceneManagement; | |
[InitializeOnLoad] | |
public class AutoLoadScene |
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 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 { |