Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

billboard canvas unity

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BillboardFX : MonoBehaviour
{
	public Transform camTransform;

	Quaternion originalRotation;

    void Start()
    {
        originalRotation = transform.rotation;
    }

    void Update()
    {
     	transform.rotation = camTransform.rotation * originalRotation;   
    }
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: get tree node godot 
Csharp :: string to byte array c# 
Csharp :: c# round double 
Csharp :: dictionary order by value c# 
Csharp :: dns ttl meaning 
Csharp :: c# datagridview change selected row color 
Csharp :: c# console print 
Csharp :: write last element of dictionary c# 
Csharp :: c# decimal vs double 
Csharp :: c# ienumerable to list 
Csharp :: list search c# 
Csharp :: asp.net textarea disable resize 
Csharp :: system linq c# 
Csharp :: c# get last day of month 
Csharp :: font dialog c# code 
Csharp :: sqldatareader in c# 
Csharp :: c# replace dash in string 
Csharp :: datetime empty date 
Csharp :: how to convert object in string JSON c# 
Csharp :: c# remove all punctuation from string 
Csharp :: how to acivate a game object unity 
Csharp :: null check syntax c# 
Csharp :: c# add time to datetime 
Csharp :: how to get unique list in c# 
Csharp :: windows forms get all images from resources 
Csharp :: map user to ConnectionId SignalR 
Csharp :: change sprite color unity 
Csharp :: c# create list of objects 
Csharp :: how to remove all comma from string c# 
Csharp :: unity button not working 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =