예제 #1
0
        private unsafe void Refresh()
        {
            //IL_0000: Unknown result type (might be due to invalid IL or missing references)
            //IL_0005: Unknown result type (might be due to invalid IL or missing references)
            //IL_0008: Unknown result type (might be due to invalid IL or missing references)
            //IL_000e: Unknown result type (might be due to invalid IL or missing references)
            //IL_0014: Unknown result type (might be due to invalid IL or missing references)
            //IL_0020: Unknown result type (might be due to invalid IL or missing references)
            //IL_0041: Unknown result type (might be due to invalid IL or missing references)
            Vector3 val  = s_vector;
            Vector4 val2 = default(Vector4);

            val2._002Ector(((IntPtr)(void *)val).x, ((IntPtr)(void *)val).y, ((IntPtr)(void *)val).z, ((IntPtr)(void *)this.get_transform().get_position()).y);
            MaterialPropertyBlock propertyBlock = m_animator2D.GetPropertyBlock();

            propertyBlock.SetVector(s_propertyIndex, val2);
            m_animator2D.SetPropertyBlock(propertyBlock);
        }