Giter Site home page Giter Site logo

unovamata / unity-uniswf-texture-manager Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 121.98 MB

Texture Swapping Using UniSWF

Home Page: http://www.uniswf.com

License: Apache License 2.0

C# 59.45% ShaderLab 34.99% HLSL 5.56%
2d image-classification image-manipulation image-processing unity

unity-uniswf-texture-manager's Introduction

TextureSwapper - Unity / UniSWF Texture Manager Plugin

The TextureSwapper plugin creates a platform to swap, manage, and change segments of textures in Unity's runtime within a texture sheet. I developed this plugin to modify segments of a model created with UniSWF in real-time in a performant way. Still, the TextureSwapper plugin can adapt to any use case involving textures.

If your use case requires you to swap segments of a texture in real-time, this is the tool for you.

Table of Contents

Dependencies

  • Unity's 2D Sprite Package.
  • .Net Framework 4.X.
  • Unity's IL2CPP Scripting Backend.
  • TextMeshPro.
  • UniSWF (Optional).

Installation

  • Download the latest release of this repository. You will download a .unitypackage file. Download the .unitypackage file.
  • Open the project where you want to deploy this extension.
  • Install the "Unity 2D Sprite" package from the Package Manager: "Window" > "Package Manager".
  • Inside the Package Manager search for "Packages: In Project", click that button and select Unity Registry, scroll down until you find 2D Sprite, click on it and "Install" it.
  • After Unity loaded the project's assets, go to: "Assets" > "Import Package" > "Custom Package..."
  • Search for the "Texture.Manager.unitypackage" file you have just downloaded.
  • Select it and load it in your project.
  • Once there, click on the "Import" button.
  • Unity will throw 3 errors. To fix them, go to "Edit" > "Project Settings...", and the "Project Settings" window will open.
  • Inside the project settings window, go to the Player option or click on the search bar and look for these 2 entries in the options: "Scripting Backend," "API Compatibility Settings"
  • Configure to "IL2CPP" in the Scripting Backend and ".Net Framework" in the Api Compatibility Settings and Unity will install the package successfully.
  • For testing purposes, head to the "CrAP" scene provided in the "Scenes" folder and run the project.

Features

  • Texture swapping and switching regardless of use case.
  • Allows texture segment swapping for singular or multiple texture sheets.
  • Generation of textures in real-time with little to no slowdown.
  • Texture scaling based on the destination size with Bilinear image scaling.
  • Automatic data and file segmentation if needed for a more cohesive project structure.
  • Texture swapping with multiple skeletons from animations.
  • Supports .SWF files.
  • Texture swapping does not affect animation.

unity-uniswf-texture-manager's People

Contributors

unovamata avatar

Stargazers

sdfksadfjksdlagjldsjfdsf avatar  avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

nicotodev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.