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
#include "TUtils.h" | |
// Unreal Engine includes | |
#include "Components/ActorComponent.h" | |
void UUtils::ForceDestroyComponent(UActorComponent* ActorComponent) | |
{ | |
if (ActorComponent && ActorComponent->IsValidLowLevel()) | |
{ | |
ActorComponent->DestroyComponent(); |
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
# UE file types | |
*.uasset filter=lfs diff=lfs merge=lfs -text | |
*.umap filter=lfs diff=lfs merge=lfs -text | |
# Raw Content types | |
*.fbx filter=lfs diff=lfs merge=lfs -text | |
*.3ds filter=lfs diff=lfs merge=lfs -text | |
*.psd filter=lfs diff=lfs merge=lfs -text | |
*.png filter=lfs diff=lfs merge=lfs -text | |
*.mp3 filter=lfs diff=lfs merge=lfs -text |
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 UnityEngine; | |
using System.Collections; | |
public class MobilePlatformController: MonoBehaviour { | |
public Vector2 route; | |
public float timePerCycle = 2.0f; | |
[Range (0,2)] | |
public float startRelativePosition=0; |
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 UnityEngine; | |
using System.Collections; | |
public class MobilePlatformController: MonoBehaviour { | |
public Vector2 route; | |
public float timePerCycle = 2.0f; | |
[Range (0,2)] | |
public float startRelativePosition=0; |