This file contains hidden or 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 System.Collections; | |
| using System.Text; | |
| using UnityEngine; | |
| using UnityEngine.Events; | |
| using UnityEngine.UI; | |
| public class TextRevealer : MonoBehaviour | |
| { | |
| [UnityEngine.Header("Configuration")] | |
| public int numCharactersFade = 3; |
This file contains hidden or 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
| // Empty |
This file contains hidden or 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 "rdilang.h" | |
| #include <stdio.h> | |
| #include <string.h> | |
| RAGAZZE | |
| VI_RICORDO length CHE | |
| VI_SEGNALO name[666] CHE | |
| UNREAL | |
| CI_METTE_A_DISPOSIZIONE("Tell me your name\n") | |
| MI_ASPETTO(name) |
This file contains hidden or 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
| ''' | |
| Script 1 | |
| Write a procedure that has 4 arguments: 3 strings (objA, objB, objC) and 1 int x_number | |
| when running the proc, objC should get duplicated x_number of times | |
| and be distributed evenly in a line between objA and objB. | |
| ''' | |
| import maya.cmds as cmd | |
| import math |
This file contains hidden or 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
| /* | |
| Script 1 | |
| Write a script that will create 3 polySpheres and 3 polyCubes. | |
| The 3 polySphere should be place 5 units from each other in X. but not moved in Y or Z. | |
| The 3 polyCubes should be on top of the spheres in the viewport (3 units above) | |
| The first cube should have a red lambert material assigned to it, | |
| The second cube should have a green lambert material assigned to it | |
| The third cube should have a blue blinn material assigned to it. | |
| Put comments in your code for documentation... |
This file contains hidden or 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 "MoveMouseByCurvePlugin.h" | |
| #define LOCTEXT_NAMESPACE "FMoveMouseByCurvePluginModule" | |
| void FMoveMouseByCurvePluginModule::StartupModule() | |
| { | |
| UE_LOG(LogTemp, Warning, TEXT("Moving curve along mouse start initialization")); | |
| FConsoleCommandWithArgsDelegate MoveMouseDelegate; | |
| MoveMouseDelegate.BindRaw(this, &FMoveMouseByCurvePluginModule::MoveMouseAlongCurveWithPath); |
This file contains hidden or 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 "MoveSceneByCurve.h" | |
| UMoveSceneByCurve::UMoveSceneByCurve() | |
| { | |
| // Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features | |
| // off to improve performance if you don't need them. | |
| PrimaryComponentTick.bCanEverTick = true; | |
| } | |
| // Called when the game starts |
This file contains hidden or 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 "SpaceshipPawn.h" | |
| // Sets default values | |
| ASpaceshipPawn::ASpaceshipPawn() | |
| { | |
| // Set this pawn to call Tick() every frame. You can turn this off to improve performance if you don't need it. | |
| PrimaryActorTick.bCanEverTick = true; | |
| USphereComponent * SphereComponent = CreateDefaultSubobject<USphereComponent>(TEXT("RootComponent")); | |
| RootComponent = SphereComponent; | |
| SphereComponent->InitSphereRadius(40.0f); |
This file contains hidden or 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 "MovePlayerByCurve.h" | |
| // Sets default values for this component's properties | |
| UMovePlayerByCurve::UMovePlayerByCurve() | |
| { | |
| // Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features | |
| // off to improve performance if you don't need them. | |
| PrimaryComponentTick.bCanEverTick = true; | |
| } |
This file contains hidden or 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
| #define STB_IMAGE_IMPLEMENTATION | |
| #include "GifImportFactory.h" | |
| #include "stb_image.h" | |
| #include <stdlib.h> | |
| UGifImportFactory::UGifImportFactory() | |
| { | |
| bEditorImport = true; | |
| SupportedClass = UTexture2D::StaticClass(); |