原创 Unity代碼基礎第一天之“簡單基礎”(1)

//1.命名空間-開頭 using System.Collections; using System.Collections.Generic; using UnityEngine; //2.類的結構 //NewBehaviourSc

原创 Web前端新手入門:web前端介紹

一、什麼是web前端?web(互聯網總稱):是一種基於超文本和HTTP的、全球性的、動態交互的、跨平臺的分佈式圖形信息系統。用戶在查找或瀏覽信息的時候,展現出圖形化,用直觀的界面方式表達出來。前端:對於網站(頁面)來說,有2部分,一個是網

原创 unity案例學習之“打磚塊”

1.實列化子彈 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shoot : MonoBehav

原创 unity案例學習之“夢幻世界”

1.球體的移動和碰撞檢測 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; publ

原创 HTML5:Animate cc交互之“常用全局事件及封裝” 及功能

一、項目常用的全局事件,總結 S = this; S.stop(); //下一步播放事件 nextPlay = function (event) { numframe = S.currentFrame; S.gotoAndPla

原创 unity基礎學習之“實例化”物體

using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shootwo : MonoBehaviour {

原创 unity基礎學習之“物體”的左右前後移動

using System.Collections; using System.Collections.Generic; using UnityEngine; public class Movement : MonoBehaviour

原创 Unity代碼基礎第二天之“MonoBehaviour裏面的常用變量”和“協程”(3)

using System.Collections; using System.Collections.Generic; using UnityEngine; public class scene3 : MonoBehaviour {

原创 Unity代碼基礎第三天之“動畫的創建、屬性、簡單製作”(1)

編號:scene20200212a 創建Animation 選中物體 正在上傳…重新上傳取消 新建2個文件夾存放狀態基和動畫 正在上傳…重新上傳取消 正在上傳…重新上傳取消 完成 製作簡單動畫 正在上傳…重新上傳取消 錄像功能 正在上傳…

原创 Unity代碼基礎第二天之“事件函數”和“時間類函數”(1)

using System.Collections; using System.Collections.Generic; using UnityEngine; public class scene1 : MonoBehaviour {

原创 Unity代碼基礎第二天之“GameObject類”(2)

using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class scene2

原创 Unity代碼基礎第三天之“按鈕4種狀態、2D精靈動畫”(2)

編號:scene-20200212c 按鈕的四種狀態及其它屬性 “精靈選項”和”禁用” 正在上傳…重新上傳取消 默認下的狀態、經過後的狀態、按下後的狀態、禁用後的狀態 正在上傳…重新上傳取消 過渡中的動畫模式 1、ctrl+6可打開”動畫

原创 Unity代碼基礎第一天之“組件的獲取、禁用、調用其他腳本的方法”(2)

using System.Collections; using System.Collections.Generic; using UnityEngine; public class scene1 : MonoBehaviour {

原创 Unity代碼基礎第二天之“鼠標相關事件函數OnMouseXXX”(4)

using System.Collections; using System.Collections.Generic; using UnityEngine; public class scene4 : MonoBehaviour {

原创 Unity代碼基礎第一天

//1.命名空間-開頭 using System.Collections; using System.Collections.Generic; using UnityEngine; //2.類的結構 //NewBehaviourSc