11 2018 档案

摘要:2d平台跳跃游戏当相机移动的时候背景跟随进行微调移动,从而使得玩家获得3d的错觉 using System.Collections;using System.Collections.Generic;using UnityEngine; public class BackGroundParallax 阅读全文
posted @ 2018-11-21 21:59 小辉歌 阅读(581) 评论(0) 推荐(0) 编辑
摘要:using System.Collections;using System.Collections.Generic;using UnityEngine; public class Player : MonoBehaviour { protected ContactFilter2D contactFi 阅读全文
posted @ 2018-11-18 01:08 小辉歌 阅读(1910) 评论(0) 推荐(0) 编辑
摘要:Shader的代码如下,主要是将透明度为1的像素点输出为白色,其中_BeAttack表示角色被攻击的泛白状态 // Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' Shader "Cust 阅读全文
posted @ 2018-11-17 13:55 小辉歌 阅读(1619) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示